﻿
using System;

namespace WeatherComm
{
    public class Forecast
    {
        public string date { get; set; }
        private string _high;
        private string _low;
        public string high
        {
            get => _high;
            set => _high = value.Split(' ')[1].Split('℃')[0];
        }

        public string low
        {
            get => _low;
            set => _low = value.Split(' ')[1].Split('℃')[0];
        }
        public string ymd { get; set; }
        public string week { get; set; }
        public string sunrise { get; set; }
        public string sunset { get; set; }
        public int aqi { get; set; }
        public string fx { get; set; }
        public string fl { get; set; }
        public string type { get; set; }
        public string notice { get; set; }
    }
}
